import request from '@/utils/request'
const api_name = '/manage/teacher/dashboard'

export function getDashBoard(id) {
  return request({
    url: `${api_name}/${id}`,
    method: 'get'
  })
}

export function getChart(id) {
  return request({
    url: `${api_name}/chart/${id}`,
    method: 'get'
  })
}
